package com.supplychain.scm.core.rocketmq.constant;

/**
 * @author yanhan
 * @version 1.0.0
 * <p>rocketmq 常量池</p>
 * @date 2022/5/27 16:50
 */
public class CommonTopicConstant {

	/**
	 * 本地缓存广播消息
	 */
	public static class LocalCacheBroadcast {

		public static final String TOPIC = "LOCAL-CACHE-BROADCAST-TOPIC";

		public static class Tag {
			/**
			 * 商品过滤词本地缓存变更消息
			 */
			public static final String PRODUCT_LOCAL_CACHE_CHANGE_TAG = "PRODUCT-LOCAL-CACHE-CHANGE-TAG";

			/**
			 * 资源服务本地缓存变更消息
			 */
			public static final String RESOURCE_LOCAL_CACHE_CHANGE_TAG = "RESOURCE_LOCAL_CACHE_CHANGE_TAG";

			/**
			 * 撤销本地地址映射缓存删除TAG
			 */
			public static final String REVOKE_AREA_MAPPING_LOCAL_CACHE_CHANGE_TAG = "REVOKE_AREA_MAPPING_LOCAL_CACHE_TAG";
		}
	}
}
